package com.simplegovern.setting.dao;

import java.util.List;

import com.simpleframe.persistence.hibernate.Finder;
import com.simpleframe.persistence.hibernate.HibernateGenericDao;
import com.simpleframe.persistence.hibernate.OrderBy;
import com.simplegovern.setting.SettingGroup;

public class SettingGroupDAO extends HibernateGenericDao<SettingGroup, Long>{

	public List<SettingGroup> getSettingGroupList(){
		Finder finder = Finder.create(SettingGroup.class);
		finder.addOrder(OrderBy.desc("sort"));
		return findByFinder(finder);
	}
	
	
}
